/*
 * Zadanie 4 A
 *
 * Wzbogać klasę Student z zadania 44 o metodę showDifferences, która będzie wyświetlać informacje różne
 * dla dwóch obiektów klasy Student, czyli:
 *
 * Student s1("Adam", "Smyk", "82736372821", "s1020", 22, 1, true);
 * Student s2("Arnold", "Smyk", "82736372823", "s1021", 22, 1, true);
 * Student s3("Arnold", "Smyk", "82736372822", "s1031", 24, 1, false);
 * s1.showDifferences(s2);
 * s2.showDifferences(s3);
 * s1.showDifferences(s1);
 *
 * Powinno zostać wyświetlone coś jak poniżej:
 *
 * Differences : Left (this) object      Right (parameter) object
 * ---------------------------------------------------------------------------------
 * Name        : Adam                     Arnold
 * Pesel       : 82736372821              82736372823
 * Student ID  : s1020                    s1021
 * ---------------------------------------------------------------------------------
 *
 * Differences : Left (this) object      Right (parameter) object
 * ---------------------------------------------------------------------------------
 * Pesel       : 8273637282              82736372822
 * Student ID  : s1020                   s1031
 * Age         : 22                      24
 * Sex:        : male                    female
 * ---------------------------------------------------------------------------------
 *
 * Differences : Left (this) object      Right (parameter) object
 * ---------------------------------------------------------------------------------
 * ---------------------------------------------------------------------------------
 *
 * Version: $Id: main.cpp 64 2011-11-26 08:00:31Z s8376@pjwstk.edu.pl $
 */
#include <iostream>
#include "Student.h"

using namespace std;

int main()
{
    Student s1("Adam", "Smyk", "82736372821", "s1020", 22, 1, true);
    Student s2("Arnold", "Smyk", "82736372823", "s1021", 22, 1, true);
    Student s3("Arnold", "Smyk", "82736372822", "s1031", 24, 1, false);

    s1.show();

    s1.showDifferences(s2);
    s2.showDifferences(s3);
    s1.showDifferences(s1);

    return 0;
}
